#ifndef MAINWIDGET_H
#define MAINWIDGET_H

#include <QWidget>
#include "leftwidget.h"
#include "alertmanager.h"
#include "alertrecord.h"
#include "alertnotice.h"
#include "../MainProject/loggermanager.h"

namespace Ui {
class MainWidget;
}

class MainWidget : public QWidget
{
    Q_OBJECT

public:
    explicit MainWidget(QWidget *parent = nullptr);
    AlertManager* get_m_pAlertManager();
    ~MainWidget();

public slots:
    void onShowAlertManger();
    void onShowAlertRecord();
    void onShowAlertNotice();


private:
    Ui::MainWidget *ui;
    LeftWidget *m_pLeftWidget;
    AlertRecord *m_pAlertRecord;
    AlertNotice *m_pAlertNotice;
    AlertManager *m_pAlertManager;


};

#endif // MAINWIDGET_H
